package com.lanxigua.adapter;

import com.lanxigua.utils.Action;
import com.lanxigua.utils.ErrorException;
import com.lanxigua.utils.Http;

import android.os.Handler;

public class User extends Base {
	public User(Handler handler) {
		super(handler);
	}

	public void login(String account, String password) throws ErrorException, Exception{
		this.Params.put("account", account);
		this.Params.put("password", password);
		Http.connect(Action.UserLogin).post(this.Params).start();				
	}
}